package com.xuerhua.yxt.dao;

import java.util.List;

import com.xuerhua.yxt.model.VisitorAppointment;
import com.xuerhua.yxt.page.Page;
import com.xuerhua.yxt.view.VisitorAppointmentView;

public interface VisitorAppointmentMapper {

    int insertSelective(VisitorAppointment record);

    VisitorAppointment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(VisitorAppointment record);

    List<VisitorAppointmentView> selectListByPage(Page<VisitorAppointmentView> page);
    
    VisitorAppointmentView selectViewById(VisitorAppointment vo);
    
    VisitorAppointmentView selectCurrentVisited(Integer relId);
    
}